#include <stdio.h>
int main(void)
{
    int ten = 10;
    int two = 2;
    printf("Doing it right: ");
    printf("%d minus %d is %d\n", ten, 2, ten-two);
    printf("Doing it wrong: ");
    printf("%d minus %d is %d\n",ten );/*此处缺少两个参数，故编译出的结果为内存的任意值*/
                                       /*编译器不报错的原因是printf()函数参数数目不定*/
    return 0;
}
